<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="c-user_id" class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/index" data-field="nickname" class="form-control selectpage" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_add_time" class="control-label col-xs-12 col-sm-2">{:__('Property_add_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_add_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[property_add_time]" type="text" value="{$row.property_add_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_number" class="control-label col-xs-12 col-sm-2">{:__('Property_number')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_number" data-rule="required" class="form-control" name="row[property_number]" type="text" value="{$row.property_number}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_large_category" class="control-label col-xs-12 col-sm-2">{:__('Property_large_category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_large_category" data-rule="required" class="form-control" name="row[property_large_category]" type="text" value="{$row.property_large_category}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_small_category" class="control-label col-xs-12 col-sm-2">{:__('Property_small_category')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_small_category" class="form-control" name="row[property_small_category]" type="text" value="{$row.property_small_category}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_name" class="control-label col-xs-12 col-sm-2">{:__('Property_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_name" data-rule="required" class="form-control" name="row[property_name]" type="text" value="{$row.property_name}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_sku" class="control-label col-xs-12 col-sm-2">{:__('Property_sku')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_sku" data-rule="required" class="form-control" name="row[property_sku]" type="text" value="{$row.property_sku}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_buy_time" class="control-label col-xs-12 col-sm-2">{:__('Property_buy_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_buy_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[property_buy_time]" type="text" value="{$row.property_buy_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_status" class="control-label col-xs-12 col-sm-2">{:__('Property_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="propertyStatusList" item="vo"}
            <label for="row[property_status]-{$key}"><input id="row[property_status]-{$key}" name="row[property_status]" type="radio" value="{$key}" {in name="key" value="$row.property_status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label for="c-property_warehouse" class="control-label col-xs-12 col-sm-2">{:__('Property_warehouse')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_warehouse" class="form-control" name="row[property_warehouse]" type="text" value="{$row.property_warehouse}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_last_time" class="control-label col-xs-12 col-sm-2">{:__('Property_last_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_last_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[property_last_time]" type="text" value="{$row.property_last_time|datetime}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_due_date" class="control-label col-xs-12 col-sm-2">{:__('Property_due_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_due_date" class="form-control" name="row[property_due_date]" type="number" value="{$row.property_due_date}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_account" class="control-label col-xs-12 col-sm-2">{:__('Property_account')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_account" class="form-control" step="0.01" name="row[property_account]" type="number" value="{$row.property_account}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_depreciation" class="control-label col-xs-12 col-sm-2">{:__('Property_depreciation')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_depreciation" class="form-control" name="row[property_depreciation]" type="text" value="{$row.property_depreciation}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-property_residual_value" class="control-label col-xs-12 col-sm-2">{:__('Property_residual_value')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-property_residual_value" class="form-control" name="row[property_residual_value]" type="text" value="{$row.property_residual_value}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
